package com.woniuxy.company5.service.impl;

import com.woniuxy.company5.dto.FinMacDto;
import com.woniuxy.company5.entity.FinMac;
import com.woniuxy.company5.mapper.FinMacMapper;
import com.woniuxy.company5.service.FinMacService;
import com.woniuxy.company5.vo.FinMacVo;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * 功能描述
 *
 * @author PC
 * @date -2022/12/9-时间-12:20
 * @product company5
 */
@Service
public class FinMacServiceImpl implements FinMacService {
    @Resource
    private FinMacMapper finMacMapper;
    @Override
    public List<FinMacVo> selAll(FinMacDto finMacDto) {
        return finMacMapper.selAll(finMacDto);
    }

    @Override
    public int deleteByPrimaryKey(Long id) {
        return finMacMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insertSelective(FinMac record) {
        return finMacMapper.insertSelective(record);
    }

    @Override
    public FinMac selectByPrimaryKey(Long id) {
        return finMacMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(FinMac record) {
        return finMacMapper.updateByPrimaryKeySelective(record);
    }
}
